import type { MockMethod } from 'vite-plugin-mock'
import Mock from 'mockjs'
const Random = Mock.Random
const mock = Mock.mock

export const ConfigTableRows = [
  {
    id: Random.guid(),
    key: 'user.status.active',
    value: 'active',
    remark: '正常的',
    create_at: Random.datetime(),
    update_at: Random.datetime()
  },
  {
    id: Random.guid(),
    key: 'user.status.pending',
    value: 'pending',
    remark: '未确定的',
    create_at: Random.datetime(),
    update_at: Random.datetime()
  },
  {
    id: Random.guid(),
    key: 'user.status.banned',
    value: 'banned',
    remark: '禁用的',
    create_at: Random.datetime(),
    update_at: Random.datetime()
  },
  {
    id: Random.guid(),
    key: 'user.status.rejected',
    value: 'rejected',
    remark: '废弃的',
    create_at: Random.datetime(),
    update_at: Random.datetime()
  }
]

export default [] as MockMethod[]
